package com.veritech.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.veritech.dao.ServiceDAO;
import com.veritech.model.Customer;
import com.veritech.model.Service;

public class ServiceServiceImpl implements ServiceService {
	
	@Autowired
	private ServiceDAO serviceDao;
	
	public void setServiceDao(ServiceDAO serviceDao){
		this.serviceDao = serviceDao;
	}

	public boolean saveService(Service service) {
		return false;
	}

	public List<Service> getAllService() {
		return serviceDao.getAllService();
	}

	public Service getServiceById(long id) {
		return serviceDao.getServiceById(id);
	}

	public List<Service> searchService(String name) {
		return null;
	}

	public List<Service> getServiceByCustomer(long custId) {
		return null;
	}

	public List<Service> getServiceByCustomer(Customer cust) {
		return null;
	}
}
